<pre
	class="!mb-0 !mt-0"
	tabindex="0"
	data-language="ts"
	data-theme="default"
>    <code data-language="ts" data-theme="default"><span data-line=""><span style="color: #F97583">type</span><span style="color: #E1E4E8"> </span><span style="color: #B392F0">CustomEventDetail</span><span style="color: #E1E4E8">&lt;</span><span style="color: #B392F0">T</span><span style="color: #E1E4E8"> </span><span style="color: #F97583">extends</span><span style="color: #E1E4E8"> </span><span style="color: #B392F0">Event</span><span style="color: #E1E4E8">&gt; </span><span style="color: #F97583">=</span><span style="color: #E1E4E8"> {</span></span>
  <span data-line=""><span style="color: #E1E4E8">  </span><span style="color: #6A737D">/**</span></span>
  <span data-line=""><span style="color: #6A737D">   * Calls the original event's preventDefault method, preventing the default</span></span>
  <span data-line=""><span style="color: #6A737D">   * Melt behavior for the event.</span></span>
  <span data-line=""><span style="color: #6A737D">   */</span></span>
  <span data-line=""><span style="color: #E1E4E8">  </span><span style="color: #B392F0">cancel</span><span style="color: #F97583">:</span><span style="color: #E1E4E8"> () </span><span style="color: #F97583">=&gt;</span><span style="color: #E1E4E8"> </span><span style="color: #79B8FF">void</span><span style="color: #E1E4E8">;</span></span>
  <span data-line=""> </span>
  <span data-line=""><span style="color: #E1E4E8">  </span><span style="color: #6A737D">/**</span></span>
  <span data-line=""><span style="color: #6A737D">   * The original event that triggered the Melt event.</span></span>
  <span data-line=""><span style="color: #6A737D">   */</span></span>
  <span data-line=""><span style="color: #E1E4E8">  </span><span style="color: #FFAB70">originalEvent</span><span style="color: #F97583">:</span><span style="color: #E1E4E8"> </span><span style="color: #B392F0">T</span><span style="color: #E1E4E8">;</span></span>
  <span data-line=""><span style="color: #E1E4E8">};</span></span></code>
    </pre>
